import "package:flutter/material.dart";
import 'route/Login.dart';
import 'route/Home.dart';

void main(List<String> args) => runApp(new App());

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'first app',
      initialRoute: 'login',
      routes: {
        'home': (context) => new Home(),
        'login': (context) => new Login(),
      },
      theme: ThemeData(
        primaryColor: Colors.yellow[400],
        splashColor: Colors.white70,
      ),
    );
  }
}
